package com.nosnow.gmall.manage.constant;

/**
 * @类名称：ManageConst
 * @类描述：常量类
 * @author: bingHeng
 * @Date
 * @Version: 1.0
*/
public class ManageConst {

    public static final String SKUKEY_PREFIX = "sku:";

    public static final String SKUKEY_SUFFIX = ":info";

    public static final String SKULOCK_SUFFIX = ":lock";

    public static final int SKUKEY_TIMEOUT = 24 * 60 *60;

    // 从数据库取数据的最长时间为10s,为了演示设置为10秒，正常情况下1秒就够了
    public static final int SKULOCK_EXPIRE_PX = 10000;
}
